package features.advance.edu.compilers.exception;

/**
 * @author LIN
 * @date 2022-01-12 13:28
 */
public class SyntaxException extends Exception{
    private static String MSG = "语法错误";
    public SyntaxException() {
        super(MSG);
    }

    public SyntaxException(String message) {
        super(message);
    }

    public SyntaxException(String message, Throwable cause) {
        super(message, cause);
    }

    public SyntaxException(Throwable cause) {
        super(cause);
    }

    protected SyntaxException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
